package com.be.beadmin.material.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class PurchaseOrderTotalExcelEx {
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("发货日期")
    private Date sendDate;
    @ExcelProperty("采购订单号")
    private String po;
    @ExcelProperty("采购订单行")
    private String PoItem;
    @ExcelProperty("供应商名称")
    private String supplier;
    @ExcelProperty("采购预警")
    private String purchaseAlerts;
    @ExcelProperty("开工日期")
    private Date kickoffDate;
    @ExcelProperty("采购时间")
    private Date purchaseTime;
    @ExcelProperty("计划到货日期")
    private Date deliveryDate;
    @ExcelProperty("实际到货日期")
    private Date purchaseEndDate;
    @ExcelProperty("采购员")
    private String purchaser;
    @ExcelProperty("是否全部到货")
    private String isClosed;
    @ExcelProperty("订单状态")
    private String poState;
    @ExcelProperty("备注")
    private String memo;
//    @JsonFormat(
//            pattern = "yyyy-MM-dd",
//            timezone = "GMT+8"
//    )
//    @ExcelProperty("创建时间")
//    private Date createTime;
//    @ExcelProperty("ERP任务号")
//    private String erpOrderNo;
//
//
//
//    @ExcelProperty("审核标志")
//    private String isAudit;
//    @ExcelProperty("是否缺件")
//    private String isShort;








    @ExcelProperty("销售订单号")
    private String so;


    @ExcelProperty("销售订单行")
    private String soItem;
    @ExcelProperty("项目id")
    private String infoId;
    //@ExcelProperty("唯一标识")
    //private String poIdentification;

    @ExcelProperty("物料编码")
    private String MaterialCode;
    @ExcelProperty("物料名称")
    private String MaterialName;
    @ExcelProperty("物料类型")
    private String MaterialType;
    @ExcelProperty("物料数量")
    private String MaterialQty;
    @ExcelProperty("物料描述")
    private String MaterialDesc;
    @ExcelProperty("物料规格")
    private String MaterialSpec;
    @ExcelProperty("品牌")
    private String Brand;
    @ExcelProperty("单位")
    private String Unit;
    @ExcelProperty("未交货数量")
    private int UndeliveredQty;
    @ExcelProperty("行业务是否关闭")
    private String IsFinished;
    @ExcelProperty("预计到货日期")
    private Date ExpectedDeliveryTime;
}
